package top.burning.confidant.model.pojo;

import java.util.Date;

/**
 * 话题表
 * @author tell
 */
public class Topics {
    /**
     * 自增主键
     */
    private Integer id;

    /**
     * 话题 id，具有唯一标识
     */
    private Integer topicsId;
    /**
     * 用户 id 做外键，联系用户表和话题表
     */

    private Integer tUserId;
    /**
     *话题的图片，可为空
     */

    private String picture;
    /**
     *话题标签，用于按标签进行搜索
     */

    private String tag;
    /**
     *话题的主题
     */

    private String theme;

    /**
     * 创建时间，需用户输入（无此功能则无需理会）
     */
    private Date createTime;

    /**
     *  数据更改或者更新时间，时间获取系统当前时间
     */
    private Date updataTime;
    /**
     * 创建操作人员
     */

    private String createPeople;
    /**
     * 修改操作人员
     */

    private String delPeople;
    /**
     * 逻辑删除值，建议使用 0，1 表示
     */

    private Integer delValue;
    /**
     * 地址表中的地址 id 在此做外键
     */

    private String commentAdd;

    /**
     *话题的内容
     */
    private String topics;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getTopicsId() {
        return topicsId;
    }


    public void setTopicsId(Integer topicsId) {
        this.topicsId = topicsId;
    }


    public Integer gettUserId() {
        return tUserId;
    }


    public void settUserId(Integer tUserId) {
        this.tUserId = tUserId;
    }


    public String getPicture() {
        return picture;
    }


    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }


    public String getTag() {
        return tag;
    }


    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }


    public String getTheme() {
        return theme;
    }


    public void setTheme(String theme) {
        this.theme = theme == null ? null : theme.trim();
    }


    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdataTime() {
        return updataTime;
    }


    public void setUpdataTime(Date updataTime) {
        this.updataTime = updataTime;
    }


    public String getCreatePeople() {
        return createPeople;
    }


    public void setCreatePeople(String createPeople) {
        this.createPeople = createPeople == null ? null : createPeople.trim();
    }


    public String getDelPeople() {
        return delPeople;
    }


    public void setDelPeople(String delPeople) {
        this.delPeople = delPeople == null ? null : delPeople.trim();
    }


    public Integer getDelValue() {
        return delValue;
    }


    public void setDelValue(Integer delValue) {
        this.delValue = delValue;
    }


    public String getCommentAdd() {
        return commentAdd;
    }


    public void setCommentAdd(String commentAdd) {
        this.commentAdd = commentAdd == null ? null : commentAdd.trim();
    }


    public String getTopics() {
        return topics;
    }


    public void setTopics(String topics) {
        this.topics = topics == null ? null : topics.trim();
    }
}